#!/bin/bash

{ python -u tester.py; } 2>&1 | tee output.log

TEST_STATUS=${PIPESTATUS[0]}
if [[ $TEST_STATUS -ne 0 ]]; then
	exit $TEST_STATUS
fi